/**
 * Shopware 4.0
 * Copyright © 2012 shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 *
 * @category   Shopware
 * @package    Shopware_Styling
 * @subpackage Fieldset
 * @copyright  Copyright (c) 2012, shopware AG (http://www.shopware.de)
 * @version    $Id$
 * @author shopware AG
 */
.#{$prefix}fieldset {
	color: $fieldset-base-color;
	border-color: $fieldset-base-border-color;
	font-size: $fieldset-base-font-size;
	padding: 12px 20px;
	
	// Header
	.#{$prefix}fieldset-header {
		padding: 0 5px 1px;
		
		.#{$prefix}fieldset-header-text {
			color: $fieldset-base-color;
			font-size: $fieldset-base-font-size;
		}
		
		.#{$prefix}tool {
			@include border-radius(3px);
			@include transition-property(border-color);
			@include transition-duration(500ms);
			@include border-radius(3px);
			border: 2px solid #afd9f7;;
			width: 19px !important;
			height: 19px !important;
		}
	}
	
	// Checkbox Header
	.#{$prefix}fieldset-header-checkbox {
		margin: 1px 3px 0 0;
		line-height: 20px;
	}
	
	// Modify the text to match the new height
	.#{$prefix}fieldset-header-checkbox + .#{$prefix}fieldset-header-text,
	.#{$prefix}fieldset-header .#{$prefix}tool + .#{$prefix}fieldset-header-text {
		padding: 4px 0 1px;
	}
}

// Active style for the collasible fieldset
.#{$prefix}fieldset-collapsed .#{$prefix}fieldset-header .#{$prefix}tool {
	border-color: #dfe3e6
}

